package com.zlj.xialiao.dao;

import com.zlj.xialiao.entities.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 郑霖俊
 * @create 2021-05-05 21:50
 */

public interface UserMapper {

     void regist(@Param("nickname") String nickname, @Param("username") String username, @Param("password") String password);

    User login(@Param("username")String username);
}
